package com.example.springboot.service;

import com.example.springboot.controller.request.RoomPageRquest;
import com.example.springboot.entity.Room;
import com.example.springboot.entity.User;

import java.util.List;

public interface IRoomService {

    List<Room> listRooms();

    void add(Room room);

    Object page(RoomPageRquest roomPageRequest);

    void delete(Room room);

    Room getById(String roomid);

    void update(Room room);
}
